# coding:utf-8
from organization.models import Company, BusinessDept, BusinessLine, Employee

company = Company.objects.create(name='vfine')
bd = BusinessDept.objects.create(name='版权监控事业部')
bl = BusinessLine.objects.create(name='版权监控', businessdept=bd)
emp = Employee.objects.create(name='徐新文', emp_number='0025',
                        company=company, businessdept=bd)
emp.businessline.add(bl)
